﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Yqd.Enm;

namespace Yqd.Models
{
    public class Yqd_Cooperative
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int CooperativeID { get; set; }

        [DisplayName("任务编号")]
        public long TaskID { get; set; }

        [DisplayName("协同事项")]
        [StringLength(500)]
        public string Item { get; set; }

        [DisplayName("协同单位")]
        [StringLength(200)]
        public string CooperativeUnit { get; set; }

        [DisplayName("响应时间")]
        public DateTime RespondTime { get; set; }

        [DisplayName("协同结果")]
        public 协同结果 CooperativeResult { get; set; }

        [DisplayName("答复办理落实情况")]
        public string ReplySituation { get; set; }

        [DisplayName("工作进展")]
        public string WorkProgress { get; set; }

        [DisplayName("反馈时间")]
        public DateTime? FeedbackTime { get; set; }

        [DisplayName("预期完成办理时间")]
        public DateTime? CompletionTime { get; set; }

        [DisplayName("说明原因")]
        public string Reason { get; set; }

        [DisplayName("创建时间")]
        public DateTime Instime { get; set; }

        [DisplayName("创建者")]
        [StringLength(50)]
        public string EmployeeCode { get; set; }

        [DisplayName("部门编码")]
        [StringLength(50)]
        public string UnitCode { get; set; }

        public int IsDel { get; set; }
    }
}
